package com.other.springbootconfigureorder.config;

import com.gantang.order.open.factory.OrderValidatorFactory;
import com.gantang.order.open.service.OrderValidatorService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CustomConfiguration {

    @Bean
    public OrderValidatorService orderFeatureTableService() {
        return OrderValidatorFactory.getOrderValidatorService();
    }
}